<template>
    <div>
        <create-product-form :detail="detail" />
        <template v-if="+detail.status > 1 && !detail.jiraId">
            <version-record :detail="detail" />
        </template>
    </div>
</template>

<script lang="ts">
import CreateProductForm from '@/views/productRequire/components/CreateProductForm.vue';
import VersionRecord from '@/views/productRequire/productDetail/versionRecord/index.vue';
import { defineComponent } from 'vue';
export default defineComponent({
    components: {
        VersionRecord,
        CreateProductForm
    },
    props: {
        detail: {
            type: Object,
            default: () => ({})
        }
    }
});
</script>

<style scoped>
</style>